package com.example.itemtouchhelper

/**
 * @author by liliang on 2020/6/2 1:36 AM
 */
interface ItemTouchState {

    /**
     * 移动 item
     */
    fun onItemMove(position: Int, toPosition: Int) : Boolean

    /**
     * 删除 item
     */
    fun onItemRemove(position: Int) : Boolean
}